package com.ruoyi.report.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 普法文章对象 t_popularize_law
 * 
 * @author administrator
 * @date 2025-02-16
 */
public class TPopularizeLaw extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 文章标题 */
    @Excel(name = "文章标题")
    private String title;

    /** 文章中心内容 */
    @Excel(name = "文章中心内容")
    private String centralContent;

    /** 封面图 */
    @Excel(name = "封面图")
    private String image;

    /** 文章分类(1 法律法规 2云课堂 3微动漫 4微视频) */
    @Excel(name = "文章分类(1 法律法规 2云课堂 3微动漫 4微视频)")
    private Long type;

    /** 文章 */
    @Excel(name = "文章")
    private String article;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setCentralContent(String centralContent)
    {
        this.centralContent = centralContent;
    }

    public String getCentralContent()
    {
        return centralContent;
    }
    public void setImage(String image)
    {
        this.image = image;
    }

    public String getImage()
    {
        return image;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }
    public void setArticle(String article)
    {
        this.article = article;
    }

    public String getArticle()
    {
        return article;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("centralContent", getCentralContent())
            .append("image", getImage())
            .append("type", getType())
            .append("article", getArticle())
            .append("sort", getSort())
            .append("createTime", getCreateTime())
            .toString();
    }
}
